package com.bookcloud.java21.chapter6.接口的扩展68;

public interface Mammal extends Animal {
  void giveBirth();

  // 重写默认方法
  default void makeSound() {
    System.out.println("哺乳动物发出声音");
  }
}
